import App from "./App.vue"
import router from "@/router/router"
import { createApp } from "vue"
import ElementPlus from "element-plus"
import "element-plus/dist/index.css"
import * as ElementPlusIconsVue from "@element-plus/icons-vue"
import * as echarts from "echarts"

const app = createApp(App)
app.use(router)
app.use(ElementPlus)
app.config.globalProperties.$echarts = echarts
app.mount("#app")
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
